codygman
Oh nice. That is certainly more pleasant to read. Good stuff.
codygman
Oh nice. That is certainly more pleasant to read. Good stuff.
Actually I don't know what I was thinking, I meant to use fromMaybe above like:
filter (fromMaybe False . fmap (> 16) . age) people
filter (\p -> fromMaybe False $ (> 16) <$> age p) people
In case you are curious... I was playing around with the data you are using in Haskell and came up with these two snippets:
filter (fromJust . fmap (> 16) . age) people
filter (\p -> fromJust $ (> 16) <$> age p) people
Hi, Would you like to work with me developing this idea further? JUSTIN
What's the different between the normal generated link and the replies=on extension? I didn't realized any difference. That's my link: https://twitrss.me/twitter_user_to_rss/?user=bajkotamasdso&replies=on
The difference is that if you tick with_replies, it gets the tweets from https://twitter.com/Bajkotamasdso/with_replies rather than from https://twitter.com/Bajkotamasdso/with_replies
However it couldn't be refreshed by your script :( What can I do if I would like get my Twitter posts on my blog in real-time without any delay? Yes, I cache the RSS for 24 hours as I mention in the text of the article.
There is a javascript version that'll let you build a widget here: http://charlieharvey.org.uk/page/twitrssme_in_javascript
What's the different between the normal generated link and the replies=on extension? I didn't realized any difference.
That's my link: https://twitrss.me/twitter_user_to_rss/?user=bajkotamasdso&replies=on
However it couldn't be refreshed by your script :( What can I do if I would like get my Twitter posts on my blog in real-time without any delay?
Your response would be greatly appreciated.
Hey hoelzro Hah! Thanks. Yes you can indeed do pointfree style just the same way as Haskell. Much nicer!
> multiplyBy6 = multiply 6
<function> : number -> number
> multiplyBy6 8
48 : number
I don't know how different Elm and Haskell are, but you can write multiplyBy6 without introducing the extra variable y in Haskell:
multiplyBy6 = multiply 6
I'm guessing that's what they meant by implementing it using currying?
Hey Ron,
Just checking out 8th now. I think you're right about the challenge for experienced programmers -- it feels like having to rewire your brain. No bad thing, and I think there are a lot of advantages to the approach.
I often drink dry cider as it is one of my favourite drinks, and I came across this in a local Co-op around the corner. If I must be honest this cider tastes like someone watered down vinegar and added a touch of ethanol.